/**
 * 项目名称:
 *
 * @Author: 夏国倩
 * @Date: 2023/9/11 19:55
 * @Copyright
 */
package AbstractClass4;

public class test {
    public static void main(String[] args) {
        ZhangSan zhangSan=new ZhangSan();
        LiSi liSi=new LiSi();
        WangWu wangWu=new WangWu();

        System.out.println("张三调节的灯光亮度为："+zhangSan.getBrightness());
        System.out.println("李四调节的灯光亮度为："+liSi.getBrightness());
        System.out.println("王五调节的灯光亮度为："+wangWu.getBrightness());
    }

}
